﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlServerCe;

namespace eWallet.Data.Local.eWalletDataSetTableAdapters
{
	public partial class TableAdapterManager
	{
		public TableAdapterManager(string dbPath)
		{
			this.BlobsTableAdapter = new BlobsTableAdapter(dbPath);
			this.GroupsTableAdapter = new GroupsTableAdapter(dbPath);
			this.SecretsTableAdapter = new SecretsTableAdapter(dbPath);
			this.SecretsTagsTableAdapter = new SecretsTagsTableAdapter(dbPath);
			this.TagsTableAdapter = new TagsTableAdapter(dbPath);

			this.Connection = new SqlCeConnection(this.GroupsTableAdapter.Connection.ConnectionString);
		}

	}
}
